package edu.nwpu.zya.coreops.modules.alert.service;

import edu.nwpu.zya.coreops.modules.alert.vo.AlertLevelCountVo;
import edu.nwpu.zya.coreops.modules.alert.vo.MetricVo;
import edu.nwpu.zya.coreops.modules.alert.vo.OccurTrendVo;
import edu.nwpu.zya.coreops.modules.alert.vo.RecoveryTrendVo;
import edu.nwpu.zya.coreops.modules.dashboard.entity.AlertTrendEntity;

import java.util.List;
import java.util.Map;

public interface StatisticService {
    List<OccurTrendVo> getOccurTrendByParams(Map<String, Object> params);

    List<RecoveryTrendVo> getRecoveryTrendByParams(Map<String, Object> params);

    List<AlertLevelCountVo> getLevelCountByParams(Map<String, Object> params);

    List<MetricVo> getMetricCountByParams(Map<String, Object> params);

    List<AlertTrendEntity> getTodayAlertTrend(Long userId);
}
